package com.mimosa.common.system.user;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.mimosa.common.entity.BaseEntity;

/**
 * 用户找回密码的相关信息
 * 
 * @author Administrator
 *
 */
@Entity
@Table(name = "T_User_Reset_Pass")
public class TUserResetPass extends BaseEntity {
	@ManyToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY)
	@JoinColumn(name = "userId")
	private TUser user;

	/**
	 * 是否已处理完成
	 */
	private Integer processed = 0;

	public TUser getUser() {
		return user;
	}

	public void setUser(TUser user) {
		this.user = user;
	}

	public Integer getProcessed() {
		return processed;
	}

	public void setProcessed(Integer processed) {
		this.processed = processed;
	}
}